[INFO] cloning repository https://github.com/trev-j/aoc_2022_day2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trev-j/aoc_2022_day2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrev-j%2Faoc_2022_day2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrev-j%2Faoc_2022_day2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 42a1dee31d96e1dea8c24b3c9813ddd7635aaed8
[INFO] fixing trev-j/aoc_2022_day2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrev-j%2Faoc_2022_day2" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/trev-j/aoc_2022_day2
[INFO] finished tweaking git repo https://github.com/trev-j/aoc_2022_day2
[INFO] tweaked toml for git repo https://github.com/trev-j/aoc_2022_day2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/trev-j/aoc_2022_day2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/trev-j/aoc_2022_day2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] fixing trev-j/aoc_2022_day2 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrev-j%2Faoc_2022_day2" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/trev-j/aoc_2022_day2
[INFO] finished tweaking git repo https://github.com/trev-j/aoc_2022_day2
[INFO] tweaked toml for git repo https://github.com/trev-j/aoc_2022_day2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/trev-j/aoc_2022_day2 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/trev-j/aoc_2022_day2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d51b15a04f480b993a5ba6ef0ea5b46fd1e52e7d06a44f4683cc301d8c8129fe
[INFO] running `Command { std: "docker" "start" "d51b15a04f480b993a5ba6ef0ea5b46fd1e52e7d06a44f4683cc301d8c8129fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d51b15a04f480b993a5ba6ef0ea5b46fd1e52e7d06a44f4683cc301d8c8129fe" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d51b15a04f480b993a5ba6ef0ea5b46fd1e52e7d06a44f4683cc301d8c8129fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d51b15a04f480b993a5ba6ef0ea5b46fd1e52e7d06a44f4683cc301d8c8129fe" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking aoc_2022_day1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr] crater-edition-check: aoc_2022_day1 v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking aoc_2022_day1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |         if(opponent_play == my_play) {
[INFO] [stdout]    |           ^                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -         if(opponent_play == my_play) {
[INFO] [stdout] 31 +         if opponent_play == my_play  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |         } else if (opponent_play == ROCK_VAL && my_play == PAPER_VAL) {
[INFO] [stdout]    |                   ^                                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 -         } else if (opponent_play == ROCK_VAL && my_play == PAPER_VAL) {
[INFO] [stdout] 33 +         } else if opponent_play == ROCK_VAL && my_play == PAPER_VAL  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |         } else if (opponent_play == PAPER_VAL && my_play == SCISSORS_VAL) {
[INFO] [stdout]    |                   ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 35 -         } else if (opponent_play == PAPER_VAL && my_play == SCISSORS_VAL) {
[INFO] [stdout] 35 +         } else if opponent_play == PAPER_VAL && my_play == SCISSORS_VAL  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 |         } else if (opponent_play == SCISSORS_VAL && my_play == ROCK_VAL) {
[INFO] [stdout]    |                   ^                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -         } else if (opponent_play == SCISSORS_VAL && my_play == ROCK_VAL) {
[INFO] [stdout] 37 +         } else if opponent_play == SCISSORS_VAL && my_play == ROCK_VAL  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |         if(opponent_play == my_play) {
[INFO] [stdout]    |           ^                        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 31 -         if(opponent_play == my_play) {
[INFO] [stdout] 31 +         if opponent_play == my_play  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |         } else if (opponent_play == ROCK_VAL && my_play == PAPER_VAL) {
[INFO] [stdout]    |                   ^                                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 -         } else if (opponent_play == ROCK_VAL && my_play == PAPER_VAL) {
[INFO] [stdout] 33 +         } else if opponent_play == ROCK_VAL && my_play == PAPER_VAL  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |         } else if (opponent_play == PAPER_VAL && my_play == SCISSORS_VAL) {
[INFO] [stdout]    |                   ^                                                     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 35 -         } else if (opponent_play == PAPER_VAL && my_play == SCISSORS_VAL) {
[INFO] [stdout] 35 +         } else if opponent_play == PAPER_VAL && my_play == SCISSORS_VAL  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 |         } else if (opponent_play == SCISSORS_VAL && my_play == ROCK_VAL) {
[INFO] [stdout]    |                   ^                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 37 -         } else if (opponent_play == SCISSORS_VAL && my_play == ROCK_VAL) {
[INFO] [stdout] 37 +         } else if opponent_play == SCISSORS_VAL && my_play == ROCK_VAL  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `round_outcome` is never read
[INFO] [stdout]   --> src/main.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut round_outcome: RoundOutcome = RoundOutcome::Loss;
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 40 |             round_outcome = RoundOutcome::Loss;
[INFO] [stdout]    |             ---------------------------------- `round_outcome` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StrategySymbolKind` is never used
[INFO] [stdout]   --> src/main.rs:49:6
[INFO] [stdout]    |
[INFO] [stdout] 49 | enum StrategySymbolKind {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `symbol_win_value` is never used
[INFO] [stdout]   --> src/main.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn symbol_win_value(symbol: StrategySymbolKind) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `round_outcome` is never read
[INFO] [stdout]   --> src/main.rs:29:47
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let mut round_outcome: RoundOutcome = RoundOutcome::Loss;
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 40 |             round_outcome = RoundOutcome::Loss;
[INFO] [stdout]    |             ---------------------------------- `round_outcome` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StrategySymbolKind` is never used
[INFO] [stdout]   --> src/main.rs:49:6
[INFO] [stdout]    |
[INFO] [stdout] 49 | enum StrategySymbolKind {
[INFO] [stdout]    |      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `symbol_win_value` is never used
[INFO] [stdout]   --> src/main.rs:64:4
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn symbol_win_value(symbol: StrategySymbolKind) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr] crater-edition-check all packages now at latest edition
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "d51b15a04f480b993a5ba6ef0ea5b46fd1e52e7d06a44f4683cc301d8c8129fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d51b15a04f480b993a5ba6ef0ea5b46fd1e52e7d06a44f4683cc301d8c8129fe", kill_on_drop: false }`
[INFO] [stdout] d51b15a04f480b993a5ba6ef0ea5b46fd1e52e7d06a44f4683cc301d8c8129fe
